package com.wl.common.system.support.dto.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wl.common.core.web.dto.AbstractBaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 菜单表 查询条件
 *
 * @author wanglin
 * @since 2023-09-18
 */
@Data
@Schema(description = "菜单表")
public class SysMenuQueryDTO extends AbstractBaseDTO {
    /**
     * 记录ID
     */
    @Schema(description = "记录ID")
    private String id;
    @Schema(description = "菜单名称")
    private String name;
    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String startCreateTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String endCreateTime;
}